package com.example.drive.coach.service;


import com.example.drive.coach.pojo.dto.CoachDTO;
import com.example.drive.coach.pojo.entity.Coach;
import com.example.drive.coach.pojo.vo.CoachWage;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@Service
public interface CoachService {
    List<Coach> getList();

    void add(CoachDTO coachDTO);

    void delete(Integer id);

    void update(CoachDTO coachDTO,Integer id);

    void uploadImage(Integer id, MultipartFile image);

    Coach search(Integer id);

    void addWage(Integer id, Integer wage);

    CoachWage getWage(Integer id);
}
